<!DOCTYPE html>
<html lang="zh-CN" xmlns:th="http://www.thymeleaf.org">

<head th:replace="header :: common_header(~{::title},~{::link})">
    <title>秒到2.0综合管理后台-角色管理</title>
</head>

<body class="page-header-fixed page-sidebar-closed-hide-logo page-content-white">
    <div class="page-wrapper">
        <div class="page-header navbar navbar-fixed-top" th:insert="~{index :: navbar-top}">
        </div>
        <div class="clearfix"> </div>
        <div class="page-container">
            <div class="page-sidebar-wrapper" th:insert="~{index :: sidebar}">
            </div>
            <div class="page-content-wrapper">
                <div class="page-content">
                    <!--<div class="page-bar">
                        <ul class="page-breadcrumb">
                            <li>
                                <a href="#">首页</a>
                                <i class="fa fa-circle"></i>
                            </li>
                            <li>
                                <a href="#">业务管理</a>
                                <i class="fa fa-circle"></i>
                            </li>
                            <li>
                                <span>代理商级别管理</span>
                            </li>
                        </ul>
                    </div>-->
                    <div class="row">
                        <div class="col-md-12">
                            <div class="portlet light bordered">
                                <div class="portlet-title">
                                    <div class="caption font-dark">
                                        <i class="icon-settings font-dark"></i>
                                        <span class="caption-subject bold uppercase"> 代理商级别管理表</span>
                                    </div>
                                </div>
                                 <form  id="myForm" class="form-horizontal" >
                                	<div class="grid-btn form-group" id="search">
									<div class="col-md-2">
										<input type="text" class="form-control" name="name" placeholder="级别名称">
									</div>
                                <div class="col-md-8">
								    <div class="form-inline">  
								        <span>创建时间:</span>  
								        <div class="input-daterange input-group margin-right-10" id="datepicker">  
								            <input type="text" class="form-control input-small" name="start" id="qBeginTime" />  
								            <span class="input-group-addon">到</span>  
								            <input type="text" class="form-control input-small margin-right-10" name="end" id="qEndTime" />  
								        </div>
							        	<button class="btn btn-primary cy-pad-rgt-s" id="doQuery" type="button">搜索</button>
							        	 <input class="btn btn-primary  margin-right-10" type="reset" value="重置" />
							        	
								    </div>
								      
								  </div>  

                                 </div>  
                                </form>
                                <div class="portlet-body">
                                    <div class="table-toolbar">
                                        <div class="row">
                                            <div class="col-md-6"></div>
                                            <div class="col-md-6">
                                                <div class="btn-group pull-right">
                                                    <button id="btn_new_role" class="btn sbold green"> 添加代理商级别
                                                        <i class="fa fa-plus"></i>
                                                    </button>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                    <table class="table table-striped table-bordered table-hover table-checkable order-column" id="table_role">
                                                                        		
                                    
                                        <thead>
                                            <tr>
                                            <span class="help-block text-center" ></span> 
                                                <th> 级别名称 </th>
                                                <th> 代理套数</th>
                                                <!--   <th> 充值金额</th> -->
                                                    <th> 创建时间</th>
                                                <th> 操作 </th>
                                            </tr>
                                        </thead>
                                        <tbody>
                                        </tbody>
                                    </table>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <!-- 弹框 -->
            <!-- 新增 -->
            <div class="modal fade" id="modal_new_role" data-backdrop="static" data-keyboard="false">
                <div class="modal-dialog">
                    <div class="modal-content">
                        <div class="modal-header">
                            <button type="button" class="close" data-dismiss="modal">
                            </button>
                            <h4 class="modal-title">添加代理商级别</h4>
                        </div>
                        <div class="modal-body">
                            <!-- 表单提交-->
                            <form action="" method="PUT" id="form_role_new" class="form-horizontal">
                                <div class="form-body">
                                    <div class="alert alert-danger display-hide">
                                        您填写的信息有错误，无法提交，请检查。
                                    </div>
                                    <div class="alert alert-success display-hide">
                                        表单填写完毕，正在提交...
                                    </div>
                                    <div class="alert alert-warning display-hide">
                                        提交失败，请联系客服！
                                    </div>
                                    <div class="form-group">
                                     <lable class="col-md-3 control-label"> <span
														class="required"> * </span>级别名称：</lable>
                                        <div class="col-md-6">
                                            <input type="text" class="form-control" name="name" maxlength="45"  placeholder="请输入级别名称">
                                        </div>
                                    </div>
                                   
                                   
                                      <div class="form-group">
                                     <lable class="col-md-3 control-label"> <span
														class="required"> * </span>代理套数：</lable>
                                        <div class="col-md-6">
                                            <input type="number" class="form-control"   name="minCount"  maxlength="9" placeholder="请输入代理套数">
                                        </div>
                                    </div>
                                   
                                   <!-- 
                                      <div class="form-group">
                                     <lable class="col-md-3 control-label"> <span
														class="required"> * </span>充值金额：</lable>
                                        <div class="col-md-6">
                                            <input type="text" class="form-control"  name="minCash" placeholder="请输入充值金额">
                                        </div>
                                    </div> -->
                                   
                                   
                                </div>
                                <div class="modal-footer">
                                    <button type="submit" class="btn green">提交</button>
                                    <button type="button" class="btn default" data-dismiss="modal">取消</button>
                                </div>
                            </form>
                            <!-- 表单提交-->
                        </div>
                    </div>
                </div>
            </div>
      <!--       修改-->
            <div class="modal fade" id="modal_edit_role" data-backdrop="static" data-keyboard="false">
                <div class="modal-dialog">
                    <div class="modal-content">
                        <div class="modal-header">
                            <button type="button" class="close" data-dismiss="modal">
                            </button>
                            <h4 class="modal-title">修改角色</h4>
                        </div>
                        <div class="modal-body">
                            表单提交
                            <form action="" method="POST" id="form_role_edit" class="form-horizontal">
                                <div class="form-body">
                                    <div class="alert alert-danger display-hide">
                                        您填写的信息有错误，无法提交，请检查。
                                    </div>
                                    <div class="alert alert-success display-hide">
                                        表单填写完毕，正在提交...
                                    </div>
                                    <div class="alert alert-warning display-hide">
                                        提交失败，请联系客服！
                                    </div>
                                   <div class="form-group">
                                      <input type="hidden" name="id">
                                     <lable class="col-md-3 control-label"> <span
														class="required"> * </span>级别名称：</lable>
                                        <div class="col-md-6">
                                            <input type="text" class="form-control" name="name"  maxlength="45" placeholder="请输入级别名称">
                                        </div>
                                    </div>
                                   
                                   
                                      <div class="form-group">
                                     <lable class="col-md-3 control-label"> <span
														class="required"> * </span>代理套数：</lable>
                                        <div class="col-md-6">
                                            <input type="number" class="form-control"   name="minCount" maxlength="9" placeholder="请输入代理套数">
                                        </div>
                                    </div>
                                   
                                   
                                   <!--    <div class="form-group">
                                     <lable class="col-md-3 control-label"> <span
														class="required"> * </span>充值金额：</lable>
                                        <div class="col-md-6">
                                            <input type="text" class="form-control"  name="minCash" placeholder="请输入充值金额">
                                        </div>
                                    </div> -->
                                   
                                   
                                </div>
                                <div class="modal-footer">
                                    <button type="submit" class="btn green">提交</button>
                                    <button type="button" class="btn default" data-dismiss="modal">取消</button>
                                </div>
                            </form>
                        </div>
                    </div>
                </div>
            </div> 
        </div>
        <div class="page-footer">
            <div class="page-footer-inner"> 2017 &copy; 秒迅科技</a>
            </div>
            <div class="scroll-to-top">
                <i class="icon-arrow-up"></i>
            </div>
        </div>
    </div>
    <!-- 业务js -->
    <script th:src="@{/assets/pages/scripts/alevel.js}" type="text/javascript"></script>
</body>

</html>